<!--
 * @Author: zi.yang
 * @Date: 2021-03-14 17:34:37
 * @LastEditors: zi.yang
 * @LastEditTime: 2021-03-20 18:24:37
 * @Description: 数据加载页
 * @FilePath: \vue-music\src\components\common\loading.vue
-->

<template>
  <div id="loading">
    <div class="rotate">
      加载中。。。请稍后
    </div>
  </div>
</template>

<script lang="ts">
export default {
  name: 'loading',
};

</script>

<style scoped>
#loading{
  position: absolute;
  position:fixed;
  z-index: 10;

  display: flex;
  align-items: center;
  justify-content: center;

  width:100%;
  height: 100vh;
  margin: 0;
  padding: 0;

  background: rgba(200,200,200,.5);
}
</style>
